package com.socool.sinofaith.model;

import com.google.gson.Gson;

import android.text.TextUtils;

public class AnswerReq implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5209286324010904307L;
	private String TaskQuestion_ID; // 问题编号
	private String Answer; // 答案
	private String FileCount; // 音视频，图片文件数
	private String OtherAnswer; // 单选其他时自定义答案
	private String Question;
	private String QuestionType;
	private String Order;
	private String GPS;
    private String GPSTime;
	private String Stemp_ID;
	private String SubTask_ID;
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return new Gson().toJson(this);
	}
	

	public String getStemp_ID() {
		return Stemp_ID;
	}

	public void setStemp_ID(String stemp_ID) {
		Stemp_ID = stemp_ID;
	}

	public String getSubTask_ID() {
		return SubTask_ID;
	}

	public void setSubTask_ID(String subTask_ID) {
		SubTask_ID = subTask_ID;
	}

	public String getQuestion() {
		return Question;
	}

	public void setQuestion(String question) {
		Question = question;
	}

	public String getQuestionType() {
		return QuestionType;
	}

	public void setQuestionType(String questionType) {
		QuestionType = questionType;
	}

	public String getOrder() {
		return Order;
	}

	public void setOrder(String order) {
		Order = order;
	}

	public String getTaskQuestion_ID() {
		return TaskQuestion_ID;
	}

	public void setTaskQuestion_ID(String taskQuestion_ID) {
		TaskQuestion_ID = taskQuestion_ID;
	}

	public String getAnswer() {
		return Answer;
	}

	public void setAnswer(String answer) {
		Answer = answer;
	}

	public String getFileCount() {
		return FileCount;
	}

	public void setFileCount(String fileCount) {
		if (TextUtils.isEmpty(fileCount.trim())) {
			FileCount = "0";
		} else {
			FileCount = fileCount;
		}
	}

	public String getOtherAnswer() {
		return OtherAnswer;
	}

	public void setOtherAnswer(String otherAnswer) {
		OtherAnswer = otherAnswer;
	}

	public String getGPS() {
		return GPS;
	}

	public void setGPS(String gPS) {
		GPS = gPS;
	}

	public String getGPSTime() {
		return GPSTime;
	}

	public void setGPSTime(String gPSTime) {
		GPSTime = gPSTime;
	}
	
	
}
